<md-content layout="column" layout-fill>
   <md-content layout="column" layout-padding>
      <span class="user-position">您当前的位置：库存管理</span>
      <div layout="row" layout-align="center center">
         <md-input-container>
            <label>搜索药品</label>
            <input ng-model="drugName" required>
         </md-input-container>
      </div>

      <md-list >
         <md-divider></md-divider>
         <md-list-item ng-repeat="drug in drugList | filter:drugName" ng-click="updateStock(drug.drugId)"
                       class="md-2-line drug-list-hover font-cursor-pointer">
            <img ng-src="{{drug.img}}" class="drug-list">
            <div flex="5"></div>
             <span class="drugs-name ">{{drug.drugName}}</span>
            <div flex></div>
            <span>库存：{{drug.stockNumber}}</span>

            <!--<md-button ng-click="drugInfo(drug.drugId)" class="md-primary md-raised"-->
            <!--style="min-width:6em;background-color: #4169E1">查看详情</md-button>-->
            <md-divider></md-divider>
         </md-list-item>
      </md-list>
   </md-content>
</md-content>

